// import logo from './logo.svg';
import './App.css';
import { Route, Redirect, Switch } from 'react-router-dom'

import Login from './pages/Login'
import Main from './pages/Main'

function App() {
  return (
    <div className="App">
      <Switch>
        <Route path="/login" component={Login} />
        <Route path="/main" component={Main} />
        <Redirect to="/login" />
      </Switch>
    </div>
  );
}

export default App;
